﻿/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	config.language = 'ru';
	// config.uiColor = '#AADC6E';
	
	config.toolbar_Str =
	[
	    ['Source','-','NewPage','Preview','-','Templates'],
	    ['Cut','Copy','Paste','PasteText','PasteFromWord'],
	    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	    '/',
		['Styles','Format','Font','FontSize'],
	    ['TextColor','BGColor'],
	    ['Maximize', 'ShowBlocks'],
		'/',
	    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
	    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
	    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	    ['Link','Unlink','Anchor'],
		'/',
	    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak']
	];
	
	config.filebrowserBrowseUrl      = '/public/assets/ckfinder/ckfinder.html';
 	config.filebrowserImageBrowseUrl = '/public/assets/ckfinder/ckfinder.html?Type=Images';
 	config.filebrowserFlashBrowseUrl = '/public/assets/ckfinder/ckfinder.html?Type=Flash';
 	config.filebrowserUploadUrl      = '/public/assets/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
 	config.filebrowserImageUploadUrl = '/public/assets/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
 	config.filebrowserFlashUploadUrl = '/public/assets/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';
};
